const STORAGE_TAG = 'todo_tag'
export default{
    fetch:function(){
        return JSON.parse(window.localStorage.getItem(
            STORAGE_TAG) || '[]')
    },
    save:function(items){
        window.localStorage.setItem(STORAGE_TAG, JSON.stringify(items))
    }
}